#include "starstar_04.h"
#include "ui_starstar_04.h"
#include <QPainter>

StarStar_04::StarStar_04(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::StarStar_04)
{
    ui->setupUi(this);
}

StarStar_04::~StarStar_04()
{
    delete ui;
}

void StarStar_04:: paintEvent(QPaintEvent *e)
{
    Q_UNUSED(e)
    qDebug("paintevent");

    QPainter p(this);
    p.setBrush(Qt::black);
    p.setPen(Qt::white);

    p.drawRect(0, 0, width(), height());
    p.drawText(50, 50, "+");
}
